import request from '@/utils/request'

export function getPage(data) {
  return request({
    url: '/company/getPage',
    method: 'post',
    data
  })
}

export function enableList() {
  return request({
    url: '/company/enableList',
    method: 'get'
  })
}

export function save(data) {
  return request({
    url: '/company/save',
    method: 'post',
    data
  })
}

export function enable(data) {
  return request({
    url: '/company/enable',
    method: 'post',
    params: data
  })
}

export function disable(data) {
  return request({
    url: '/company/disable',
    method: 'post',
    params: data
  })
}

